package com.example.wanshengtv;


import com.bin.david.form.data.format.IFormat;

public class MyFormat implements IFormat<Integer> {

    @Override
    public String format(Integer integer) {
        return String.valueOf(integer).replaceAll("(?<=\\d)(?=(?:\\d{3})+$)", ",");
    }
}
